/*  ----------------------------------------------------------------------------
 *  Arello Mobile
 *  Fast 3d Engine
 *  ----------------------------------------------------------------------------
 * Except where otherwise noted, this work is licensed under
 * http://creativecommons.org/licenses/by/3.0
 */

#ifndef __SHADERS_H__
#define __SHADERS_H__

#include <xml/Object.h>
#include "Shader.h"
#include <vector>
#include <AutoContainer.h>
#include <animate/Node.h>

namespace liba
{
namespace lib3d
{
namespace material
{

class Shaders : public xml::ObjectANSI, public AutoContainer< std::vector<Shader *> >, public animate::Node
{
public:
	explicit Shaders(const Atom & name);
	Shaders(const Shaders & other);
///	virtual ~Shaders();
protected:
	virtual bool on_node(xml::Provider *prov, const std::string & name);
	virtual animate::Node * find_animate_node(const Atom & name, bool recursion);
};

} // namespace material
} // namespace lib3d
} // namespace liba
using namespace liba;

#endif //__SHADERS_H__

